<%--
  Created by IntelliJ IDEA.
  User: gen3
  Date: 2020/4/11
  Time: 21:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="xyz.qduwo.entity.UserEntity" %>

<!DOCTYPE html>
<html>
<head>
    <% session.invalidate(); %>
    <meta charset="UTF-8">
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登录</title>
    <link href="https://cdn.bootcss.com/animate.css/3.7.2/animate.min.css" rel="stylesheet">
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
    <nav class="b_clear">
        <div class="nav_logo l_float">
            <img src="imgs/logo.svg" alt="">
        </div>
    </nav>
</header>
<div class="container">
    <div class="login_body l_clear">
        <div class="login_form l_float">
            <div class="login_top">
                互动画板
            </div>
            <div class="login_con animated fadeIn">
                <form action="loginServlet" method="POST">
                    <div class="form_tainer">
                        <label for="user_name">用户名</label>
                        <input type="text" name="name" id="user_name" placeholder="账号/手机号/邮箱">
                        <img src="imgs/icons/user.svg">
                        <p class="tips hidden">请检查您的账号</p>
                    </div>
                    <div class="form_tainer">
                        <label for="user_pwd">密码</label>
                        <input type="password" name="pwd" id="user_pwd" placeholder="请输入账户密码">
                        <img src="imgs/icons/lock.svg">
                        <p class="tips hidden">请检查您的密码</p>
                    </div>
                    <div class="b_clear submit form_tainer">

                        <button type="submit">登&nbsp;&nbsp;录</button>
                        <a href="./register.jsp" class="r_float">注册？</a>
                        <p class="tips hidden">登录失败，请检查您的账户与密码</p>
                    </div>
                </form>
            </div>
            <div class="login_otherAccount">
                BUILD V20200413 Nightly
            </div>

        </div>
        <div class="login_ad l_float" id="AdImg">
            <a href="">查看详情</a>
        </div>
    </div>
    <div class="footer">
<%--todo: 添加后台登录拦截器--%>
        <p>Copyright © 2020  事前诸葛亮 <a href="admin/user_administrator.jsp">后台管理</a></p>
        <p>张淋 王宣文 张心雨 江浩</p>
    </div>
</div>

<script src="js/login.js"></script>
</body>
</html>
